.ant-modal-wrap {
  .ant-modal {
    .ant-modal-content {
      box-shadow: 0 0 20px 5px rgba(56, 103, 149, 0.75);
      border: 1px solid #4fa6e5;
      border-radius: 10px;
      background-color: transparent;
      padding: 0;

      .ant-modal-header {
        width: 100%;
        height: 50px;
        background-image: url('@/assets/images/ext-confirm-title-bg.png');
        background-size: 100% 100%;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        margin-bottom: 0;

        .ant-modal-title {
          padding-left: 20px;
          font-size: 24px;
          font-family: Microsoft YaHei;
          color: #ffb317;
          line-height: 50px;
          text-align: left;
        }
      }

      .ant-modal-close-x {
        & > span {
          display: none;
        }

        width: 16px;
        height: 16px;
        top: 18px;
        right: 15px;
        background-image: url('@/assets/images/modal-close.png');
        background-size: 100% 100%;
        color: #fff;
        cursor: pointer;
      }

      .ant-modal-body {
        background: linear-gradient(180deg, #194063, #051928);
      }
      .ant-modal-footer {
        width: auto;
        height: 36px;
        position: relative;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        margin-top: 10px;
        margin-bottom: 20px;
      }
    }
  }

  &.plain {
    .ant-modal {
      .ant-modal-content {
        background-color: rgba($color: #003152, $alpha: 0.8);
        border: 1px solid #4fa6e5;
        box-shadow: 0 0 20px 5px rgba(56, 103, 149, 0.75);
        border-radius: 2px;

        .ant-modal-header {
          width: 100%;
          height: 50px;
          background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(102, 186, 246, 0.2));
          display: flex;
          align-items: center;
          position: relative;
          .ant-modal-title {
            color: #fff;
            padding-left: 20px;
            padding-right: 30px;
            line-height: 50px;
            font-size: 1.1rem;
          }
        }

        .ant-modal-close {
          top: 0;
          right: 0;
          width: 36px;
          height: 36px;
          border-bottom-left-radius: 100%;
        }
        .ant-modal-close-x {
          & > span {
            display: none;
          }

          position: absolute;
          z-index: 3;
          right: 0;
          top: 0;
          width: 36px;
          height: 36px;
          background-image: url('@/assets/images/modal-close2.png');
          background-size: 100% 100%;
          background-repeat: no-repeat;
          cursor: pointer;
          border-bottom-left-radius: 100%;
        }
        .ant-modal-body {
          background: transparent;
          max-height: 651px;
          overflow-y: auto;
          padding: 0;
        }
      }
    }
  }
}
